Optimal. Leaf size=101 \[ -\frac{8 a^2 (5 c+3 d) \cos (e+f x)}{15 f \sqrt{a \sin (e+f x)+a}}-\frac{2 a (5 c+3 d) \cos (e+f x) \sqrt{a \sin (e+f x)+a}}{15 f}-\frac{2 d \cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{5 f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0842337, antiderivative size = 101, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.12, Rules used = {2751, 2647, 2646} \[ -\frac{8 a^2 (5 c+3 d) \cos (e+f x)}{15 f \sqrt{a \sin (e+f x)+a}}-\frac{2 a (5 c+3 d) \cos (e+f x) \sqrt{a \sin (e+f x)+a}}{15 f}-\frac{2 d \cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{5 f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2751
Rule 2647
Rule 2646
Rubi steps
\begin{align*} \int (a+a \sin (e+f x))^{3/2} (c+d \sin (e+f x)) \, dx &=-\frac{2 d \cos (e+f x) (a+a \sin (e+f x))^{3/2}}{5 f}+\frac{1}{5} (5 c+3 d) \int (a+a \sin (e+f x))^{3/2} \, dx\\ &=-\frac{2 a (5 c+3 d) \cos (e+f x) \sqrt{a+a \sin (e+f x)}}{15 f}-\frac{2 d \cos (e+f x) (a+a \sin (e+f x))^{3/2}}{5 f}+\frac{1}{15} (4 a (5 c+3 d)) \int \sqrt{a+a \sin (e+f x)} \, dx\\ &=-\frac{8 a^2 (5 c+3 d) \cos (e+f x)}{15 f \sqrt{a+a \sin (e+f x)}}-\frac{2 a (5 c+3 d) \cos (e+f x) \sqrt{a+a \sin (e+f x)}}{15 f}-\frac{2 d \cos (e+f x) (a+a \sin (e+f x))^{3/2}}{5 f}\\ \end{align*}
Mathematica [A] time = 0.411252, size = 101, normalized size = 1. \[ -\frac{a \sqrt{a (\sin (e+f x)+1)} \left (\cos \left (\frac{1}{2} (e+f x)\right )-\sin \left (\frac{1}{2} (e+f x)\right )\right ) (2 (5 c+9 d) \sin (e+f x)+50 c-3 d \cos (2 (e+f x))+39 d)}{15 f \left (\sin \left (\frac{1}{2} (e+f x)\right )+\cos \left (\frac{1}{2} (e+f x)\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.665, size = 77, normalized size = 0.8 \begin{align*}{\frac{ \left ( 2+2\,\sin \left ( fx+e \right ) \right ){a}^{2} \left ( -1+\sin \left ( fx+e \right ) \right ) \left ( \sin \left ( fx+e \right ) \left ( 5\,c+9\,d \right ) -3\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}d+25\,c+21\,d \right ) }{15\,f\cos \left ( fx+e \right ) }{\frac{1}{\sqrt{a+a\sin \left ( fx+e \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac{3}{2}}{\left (d \sin \left (f x + e\right ) + c\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.56504, size = 355, normalized size = 3.51 \begin{align*} \frac{2 \,{\left (3 \, a d \cos \left (f x + e\right )^{3} -{\left (5 \, a c + 6 \, a d\right )} \cos \left (f x + e\right )^{2} - 20 \, a c - 12 \, a d -{\left (25 \, a c + 21 \, a d\right )} \cos \left (f x + e\right ) -{\left (3 \, a d \cos \left (f x + e\right )^{2} - 20 \, a c - 12 \, a d +{\left (5 \, a c + 9 \, a d\right )} \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )} \sqrt{a \sin \left (f x + e\right ) + a}}{15 \,{\left (f \cos \left (f x + e\right ) + f \sin \left (f x + e\right ) + f\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a \left (\sin{\left (e + f x \right )} + 1\right )\right )^{\frac{3}{2}} \left (c + d \sin{\left (e + f x \right )}\right )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]